package org.idea.qiyu.live.framework.redis.starter.key;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Conditional;

/**
 * @Description: //todo
 * @Author: 张广焱
 * @Date: 2024-04-20 下午9:54
 */
@Configurable
@Conditional(RedisKeyLoadMatch.class)
public class MsgProviderCacheKeyBulider extends RedisKeyBuilder{
    private static String SMS_LOGIN_CODE_KEY="smsLoginCode";

    public String buildSmsLoginCodeKey(String phone){
        return super.getPrefix()+SMS_LOGIN_CODE_KEY+super.getSplitItem()+phone;
    }
}
